package com.xujf.demo.activity

import android.content.Intent
import android.os.Bundle
import com.xujf.demo.R
import com.xujf.demo.base.BaseSimpleActivity
import com.xujf.demo.newsChannel.NewsChannelActivity
import kotlinx.android.synthetic.main.activity_main_home.*

class MainHomeActivity : BaseSimpleActivity() {

    override fun setUpUI(savedInstanceState: Bundle?) {
        setContentView(R.layout.activity_main_home)
        getBaseToolBar().navigationIcon = null
        init()
    }

    private fun init() {
        btn_drag.setOnClickListener {
            startActivity(Intent(this@MainHomeActivity, NewsChannelActivity::class.java))
        }
    }
}
